package com.example.foobar.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.foobar.entity.DyComment;
import com.example.foobar.param.DyCommentPageParam;

import com.example.foobar.param.DyVideoPageParam;
import com.example.foobar.vo.DyCommentQueryVo;
import com.example.foobar.vo.DyVideoQueryVo;
import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import java.io.Serializable;

/**
 * 抖音文字评论 Mapper 接口
 *
 * @author 郑英奔
 * @since 2021-07-23
 */
@Repository
public interface DyCommentMapper extends BaseMapper<DyComment> {

    /**
     * 获取分页对象
     *
     * @param page
     * @param dyCommentPageParam
     * @return
     */
    IPage<DyCommentQueryVo> getDyVideoPageList(@Param("page") Page page, @Param("param") DyCommentPageParam dyCommentPageParam);
}
